package com.zhijiang.hospital.entrty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("S_MEETINGCHECKRECODE")
public class MeetingCheckRecode {
    //会议编号
    @TableField(value = "M_CODE")
    private String meetingCode;
    //参会人工号
    @TableField(value = "P_CODE")
    private String empCode;
    //参会人姓名
    @TableField(value = "P_NAME")
    private String empName;
    //参会人电话
    @TableField(value = "P_PHONE")
    private String empPhone;
    //参会开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "P_BEGIN_DATE")
    private Date empBeginDate;
    //参会结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "P_END_DATE")
    private Date empEndDate;
    //参会人所在科室编号
    @TableField(value = "P_DEPT_CODE")
    private String empDeptCode;
    //参会人所在科室名称
    @TableField(value = "P_DEPT_NAME")
    private String empDeptName;
    //会议有效性
    @TableField(value = "P_VALIDITY")
    private String empMeetingvalid;
    //会议名称
    @TableField(value = "M_NAME")
    private String meetingName;
    //备注1
    @TableField(value = "P_REMARK")
    private String empRemark1;
    //备注2
    @TableField(value = "P_REMARK2")
    private String empRemark2;
    //备注3
    @TableField(value = "P_REMARK3")
    private String empRemark3;

    //是否申请发言，“1”是 “0”否
    @TableField(value = "P_REPORT")
    private String empReport;
    //申请发言时间
    @TableField(value = "P_REPORT_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date empReportDate;
    //是否请假，“1”是 “0”否
    @TableField(value = "DEPARTMENT_CODE")
    private String empLeave;
    //请假时间
    @TableField(value = "DEPARTMENT_CODE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date empLeaveDate;
    //请假批准人工号
    @TableField(value = "P_LEAVE")
    private String empLeaveRatify;
    //是否替换或增加，“1”是 “0”否
    @TableField(value = "P_LEAVE")
    private String empReplace;
    //会议时间
    @TableField(value = "P_LEAVE_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date meetingBeginDate;
    @TableField(value = "P_LEAVE_RATIFY")
    private String pAddress;

    private String mAddress;

    private String pFirm;
}
